package com.ruoyi.exa.mapper;

import java.util.List;
import com.ruoyi.exa.domain.ExaQuestionOptions;

/**
 * 试题选项Mapper接口
 * 
 * @author linziheng
 * @date 2025-06-13
 */
public interface ExaQuestionOptionsMapper 
{
    /**
     * 查询试题选项
     * 
     * @param id 试题选项主键
     * @return 试题选项
     */
    public ExaQuestionOptions selectExaQuestionOptionsById(Long id);

    /**
     * 查询试题选项列表
     * 
     * @param exaQuestionOptions 试题选项
     * @return 试题选项集合
     */
    public List<ExaQuestionOptions> selectExaQuestionOptionsList(ExaQuestionOptions exaQuestionOptions);

    /**
     * 新增试题选项
     * 
     * @param exaQuestionOptions 试题选项
     * @return 结果
     */
    public int insertExaQuestionOptions(ExaQuestionOptions exaQuestionOptions);

    /**
     * 修改试题选项
     * 
     * @param exaQuestionOptions 试题选项
     * @return 结果
     */
    public int updateExaQuestionOptions(ExaQuestionOptions exaQuestionOptions);

    /**
     * 删除试题选项
     * 
     * @param id 试题选项主键
     * @return 结果
     */
    public int deleteExaQuestionOptionsById(Long id);

    /**
     * 批量删除试题选项
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExaQuestionOptionsByIds(Long[] ids);

    int deleteExaQuestionOptionsByQuestionId(Long questionId);
}
